@layout("/common/_form.html",{js:["/assets/productWarningMessage/productWarningMessage_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="productWarningMessageForm" lay-filter="productWarningMessageForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">用户类型 (supplier  shop)<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="type" name="type" placeholder="请输入用户类型 (supplier  shop)" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">厂家或者门店id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="orgId" name="orgId" placeholder="请输入厂家或者门店id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">厂家或门店名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="orgName" name="orgName" placeholder="请输入厂家或门店名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商品id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="productId" name="productId" placeholder="请输入商品id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商品名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="productName" name="productName" placeholder="请输入商品名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">计件单位<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="countType" name="countType" placeholder="请输入计件单位" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">最低预警值<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="lessWarningValue" name="lessWarningValue" placeholder="请输入最低预警值" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发货数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="sendAmount" name="sendAmount" placeholder="请输入发货数量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">仓库可用库存<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="warehouseUsableCount" name="warehouseUsableCount" placeholder="请输入仓库可用库存" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">0：未处理，1：已发货<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="status" name="status" placeholder="请输入0：未处理，1：已发货" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}